package com.china08.yxyapi.entity.mg.huixue;

import javax.persistence.Id;

import org.springframework.data.mongodb.core.mapping.Document;
import org.springframework.data.mongodb.core.mapping.Field;

import com.china08.yxyapi.entity.mg.MongoBaseEntityNoId;

/**
 * 慧学系统--学习计划--涉及到的知识点</br>
 * 创建计划时, 在此表中每一个知识点(知识点需要过滤重复), 增加一条记录,
 * 
 * @author Richard Wang
 *
 */
@SuppressWarnings("serial")
@Document(collection = "yxy.stu.huixue.plan.know")
public class YxyHuixuePlanKnow extends MongoBaseEntityNoId {
    @Id
    private String id;

    @Field(value = "pk_id")
    private String pkId;// 计划id+知识点id

    @Field(value = "plan_id")
    private String planId;

    @Field(value = "book_contents_id")
    private String bookContentsId;// 只到节id

    @Field(value = "book_contents_name")
    private String bookContentsName;// 节名称

    @Field(value = "know_id")
    private String knowId;// 知识点id

    @Field(value = "know_name")
    private String knowName;// 知识点名称

    @Field(value = "attention")
    private Integer attention;// 关注度

    @Field(value = "progress")
    private Double progress;// 完成度

    @Field(value = "order_num")
    private Integer orderNum;// 排序字段

    @Field(value = "level")
    private Integer level;// 知识点从第几级别开始,参考excel中 分制对应的分数

    @Field(value = "goal_level")
    private Integer goalLevel;// 目标等级

    @Field(value = "task")
    private Integer task;// 总共关卡数量

    @Field(value = "pass_task")
    private Integer passTask;// 闯关成功的数量

    @Deprecated
    /**
     * 初始化为0, 每答对一道题,进行加一,打错一道题恢复到0, 当此值为3时,</br>
     * 表明连续3此答题正确, 完成进行变更, level进行变更.
     */
    @Field(value = "true_times")
    private Integer trueTimes;// 回答正确次数

    public String getKnowId() {
        return knowId;
    }

    public void setKnowId(String knowId) {
        this.knowId = knowId;
    }

    public String getKnowName() {
        return knowName;
    }

    public void setKnowName(String knowName) {
        this.knowName = knowName;
    }

    public Integer getAttention() {
        return attention;
    }

    public void setAttention(Integer attention) {
        this.attention = attention;
    }

    public Double getProgress() {
        return progress;
    }

    public void setProgress(Double progress) {
        this.progress = progress;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public String getPlanId() {
        return planId;
    }

    public void setPlanId(String planId) {
        this.planId = planId;
    }

    public String getBookContentsId() {
        return bookContentsId;
    }

    public void setBookContentsId(String bookContentsId) {
        this.bookContentsId = bookContentsId;
    }

    public String getBookContentsName() {
        return bookContentsName;
    }

    public void setBookContentsName(String bookContentsName) {
        this.bookContentsName = bookContentsName;
    }

    public Integer getOrderNum() {
        return orderNum;
    }

    public void setOrderNum(Integer orderNum) {
        this.orderNum = orderNum;
    }

    public Integer getLevel() {
        return level;
    }

    public void setLevel(Integer level) {
        this.level = level;
    }

    public Integer getTask() {
        return task;
    }

    public void setTask(Integer task) {
        this.task = task;
    }

    public Integer getPassTask() {
        return passTask;
    }

    public void setPassTask(Integer passTask) {
        this.passTask = passTask;
    }

    public Integer getTrueTimes() {
        return trueTimes;
    }

    public void setTrueTimes(Integer trueTimes) {
        this.trueTimes = trueTimes;
    }

    public Integer getGoalLevel() {
        return goalLevel;
    }

    public void setGoalLevel(Integer goalLevel) {
        this.goalLevel = goalLevel;
    }

    /**
     * @return the pkId
     */
    public String getPkId() {
        return pkId;
    }

    /**
     * @param pkId
     *            the pkId to set
     */
    public void setPkId(String pkId) {
        this.pkId = pkId;
    }

}
